package common_class.Demo07;

/**
 * @Author Miku
 * @Create 2021/4/11 15:59
 */
public class Test {
    public static void main(String[] args) {
        //StringBuffer和StringBuilder
        StringBuffer sb = new StringBuffer();
        //append()方法
        sb.append("miku");
        System.out.println(sb);
        sb.append("miku");
        System.out.println(sb);
        sb.append("dance");
        System.out.println(sb);
    }
}
